/** \file
 *	\brief Pseudo random numbers.
 */

#ifndef MDS_RAND_INCLUDED
#define MDS_RAND_INCLUDED 1

#include "../types.h"


/** \brief 32-bits integer hashing */
uint32_t mds_hash32( uint32_t a);


/** \brief internal setup */
void     mds_srand( uint32_t seed );

/** \brief 32-bits random */
uint32_t mds_rand(void);

/** \brief 0..1 random number */
Real     mds_alea(void);

/** \brief normal law(0,1) */
Real     mds_normal(void);


#endif
